<?php
	session_name("Admin");
	session_start();
	if($_SESSION['Administrador']==1)
	{
	}
	else
	{
				echo "<script>alert('Su Sesion no ha sido iniciada');
					  document.location.href='../index.html'</script>";
	}
	/*if($_SESSION['Administrador']!=1)
	{
		echo "<script>alert('Imposible Accesar');
					  document.location.href='../index.html'</script>";
	}
	else
	{
		$_SESSION['Administrador']=1;
	}*/

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>MENU DE ADMINISTRACION DE USUARIOS</title>
<script language="javascript">
	function Poner1()
	{
		document.images["Baja"].src="../Imagenes/Gray.png";
		document.body.style.cursor='pointer';
	}
	function Quitar1()
	{
		document.images["Baja"].src="../Imagenes/Red.png";
		document.body.style.cursor='default';
	}
	function Poner2()
	{
		document.images["Alta"].src="../Imagenes/Gray.png";
		document.body.style.cursor='pointer';
	}
	function Quitar2()
	{
		document.images["Alta"].src="../Imagenes/Blue.png";
		document.body.style.cursor='default';
	}
	function Poner3()
	{
		document.images["Cambio"].src="../Imagenes/Gray.png";
		document.body.style.cursor='pointer';
	}
	function Quitar3()
	{
		document.images["Cambio"].src="../Imagenes/Yellow.png";
		document.body.style.cursor='default';
	}
	function Poner4()
	{
		document.images["Consulta"].src="../Imagenes/Gray.png";
		document.body.style.cursor='pointer';
	}
	function Quitar4()
	{
		document.images["Consulta"].src="../Imagenes/Green.png";
		document.body.style.cursor='default';
	}
</script>
</head>

<body>
<table width="100%" height="162%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td height="124" colspan="3" bgcolor="#666666"><div align="center" style="font-family:'Comic Sans MS', cursive; font-size:36px"><u>GESTION DE USUARIOS</u></div></td>
  </tr>
  <tr>
    <td height="350" width="15%" bgcolor="#666666"></td>
    <td width="70%">
    	<table border="0" align="center" width="100%">
        	<tr>
            	<td width="25%" align="center"><a href="Alta.php"><img border="0" name="Alta" src="../Imagenes/Blue.png" onmouseover="Poner2()" onmouseout="Quitar2()"/></a><br /><div style="font-family:'Comic Sans MS', cursive; font-size:18px" align="center">ALTAS</div></td>
            	<td width="25%" align="center"><a href="Baja.php"><img border="0" name="Baja" src="../Imagenes/Red.png" onmouseover="Poner1()" onmouseout="Quitar1()"/></a><br /><div style="font-family:'Comic Sans MS', cursive; font-size:18px" align="center">BAJAS</div></td>
                <td width="25%" align="center"><a href="Cambio.php"><img border="0" name="Cambio" src="../Imagenes/Yellow.png" onmouseover="Poner3()" onmouseout="Quitar3()"/></a><br /><div style="font-family:'Comic Sans MS', cursive; font-size:18px" align="center">CAMBIOS</div></td>
                <td width="25%" align="center"><a href="Consulta.php"><img border="0" name="Consulta" src="../Imagenes/Green.png" onmouseover="Poner4()" onmouseout="Quitar4()"/></a><br /><div style="font-family:'Comic Sans MS', cursive; font-size:18px" align="center">CONSULTAS</div></td>
            </tr>
        </table>
   	</td>
    <td width="15%" bgcolor="#666666"></td>
  </tr>
  <tr>
    <td height="110" colspan="3" bgcolor="#666666" align="center"><a style="color:#FFF; font-size:22px" href="Cerrar_Sesion.php" onclick=""><b>Volver</b></a></td>
  </tr>
</table>
</body>
</html>
